<include file="header"/>
<div class="wraper" js="wapjs/base/officialcar/js/dorderlist.js">
	<div class="head clearfix">
		<a href="javascript:history.back(-1)" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">我的订单</span>
		<a href="./price.html" class="pull-left text-right"></a>
	</div>
	<!--<input type="hidden" value="{BEESCRM:$conf_id}" id="confid"/>-->
	<volist name="data" id="vo">
		<div class="lists">
			<a href="/base/officialCar/detail/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" class="list-line clearfix detail" data-orderid="{BEESCRM:$vo.order_id}"><span class="text-green">
				<if condition="$vo.status eq 2">
					待接送
				<elseif condition="$vo.status eq 4"/>
					待完成
				<elseif condition="$vo.status eq 5"/>
					已完成
				<elseif condition="$vo.status eq 0"/>
					已放弃
				<elseif condition="$vo.status eq 6"/>
					已评价
				</if>
			</span><span class="iconfont icon-p-you pull-right"></span></a>
			<div class="text-12 tb-mode">
				<a href="/base/officialCar/detail/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" class="tb-cell">
					<p>上车地点：{BEESCRM:$vo.user_location}</p>
					<p>目的地：{BEESCRM:$vo.user_destinction}</p>
					<p>用车时间：{BEESCRM:$vo.car_start_time}</p>
				</a>
				<if condition="$vo.status eq 2">
				<div class="tb-cell small-btn text-right">
					<!--<a href="javascript:void(0)" class="btn white-btn giveup" data-confid="{BEESCRM:$conf_id}" data-orderid="{BEESCRM:$vo.order_id}">放弃接送</a>-->
					<a href="javascript:void(0)" class="btn bg-green start" data-confid="{BEESCRM:$conf_id}" data-orderid="{BEESCRM:$vo.order_id}">开始接送</a>
				</div>
				<elseif condition="$vo.status eq 4"/>
				<div class="tb-cell small-btn text-right">
					<a href="tel:{BEESCRM:$vo.tea_tel}" class="btn white-btn" >联系教师</a>
					<a href="javascript:void(0)" class="btn bg-green finish" data-confid="{BEESCRM:$conf_id}" data-orderid="{BEESCRM:$vo.order_id}">接送完成</a>
				</div>
				</if>
			</div>
		</div>
	</volist>

</div>
<include file="footer"/>